body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #222;
    margin: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    background-color: transparent; /* 将背景颜色设置为透明 */
    /*background-color: #fff;*/
    border-radius: 10px;
    overflow: hidden;
}

.featured-title {
    width: 100%;
    padding: 10px;
    background-color: #444;
    color: #fff;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}

.carousel-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.main-image {
    width: 66.67%;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 10px;
}

.product-info {
    padding: 20px;
    width: 33.33%;
    background-color: transparent; /* 将背景颜色设置为透明 */
    border-radius: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}


.product-info h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-thumbnails div {
    flex: 1 1 calc(50% - 10px);
    height: 100px;
    background-color: #ccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-thumbnails img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: pink;
    border: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
    width: 40px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.nav-button:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid purple;
    border-right: 2px solid purple;
}

.nav-button.left:before {
    transform: rotate(-135deg);
}

.nav-button.right:before {
    transform: rotate(45deg);
}

.nav-button:hover {
    background-color: rgba(255, 192, 203, 0.5);
}

.prices {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    font-size: 18px;
    color: #ffffff;
    text-decoration-color: rgb(119, 41, 247); /* 将删除线的颜色设置为紫色 */
}


.discount-price {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.discount-badge {
    background-color: #7729F7;
    color: #FFFFFF;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
